package org.tlipoca.smarticletagrelational.client;

import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

@FeignClient("sm-articleTag")
public interface ArticleTagClient {

    @GetMapping("/article_tag/exists")
    Result<Boolean> articleTagListExists(@RequestParam("tagIds") ArrayList<Long> tagIds);

}
